<script>
// import { appVersion } from "@/config/api";
export default {
  onLaunch: function () {
    window.wx = null
    const script1 = document.createElement('script')
    script1.type = 'text/javascript'
    script1.src = 'https://res.wx.qq.com/open/js/jweixin-1.2.0.js'
    document.head.appendChild(script1)
    // if (
    //   !uni.getStorageSync("UserId") &&
    //   window.location.href.indexOf("code") < 0
    // ) {
    //   uni.navigateTo({
    //     url: "/pages/loading",
    //   });
    // }
  },
  onShow: function () {
    console.log('App Show')
  },
  onHide: function () {
    console.log('App Hide')
  },
  methods: {},
}
</script>

<style lang="scss">
page::before {
  content: '';
  padding-top: var(--status-bar-height);
}
/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
// @import 'uview-ui/theme.scss';
/*每个页面公共css */
@import '@/uni_modules/uni-scss/index.scss';
// @import "@/static/customicons.css";
page {
  background-color: #f5f5f5;
}
</style>
